Skip to content

docs(examples): add examples to repository #440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

mcous
Copy link
Collaborator

@mcous mcous commented May 25, 2025

Overview

This PR tries to take all the existing suggestions, patterns, and ideas in #284 and condense them into a set of examples for testing

  • Svelte 5 components
  • Callback events
  • Snippets
  • bindable()
  • Contexts
  • Deprecated Svelte 4 features (slots, on: events)

Rendered output

Closes #441

Change log

  • Collect examples from Svelte 5 feedback and support #284 and add them to an examples directory
  • Swap doctoc for remark-cli to resolve ToC bugs and to get access to other plugins, like remark-code-import to inject component test files into snippets in the documentation
  • Update all-contributors from folks in the thread and various other recent issues Moved to Docs: update all-contributors with Svelte 5 contributions #442
  • Open a companion PR in testing-library/docs to point here for most examples

@mcous mcous marked this pull request as ready for review June 13, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Svelte Testing Library Documentation for Svelte 5 Runes
1 participant